package com.cloudbroker.bcs.platform.dav.bizapi.service.operate.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.DateValue;
import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.InvestListStatusType;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.InvestPassType;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.PageVO;

/**
 * Created by wangly18345 on 2016/8/22.
 */
public class InvestCheckListForm extends PageVO {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    @Length(max = 20)
    protected String keyword;

    @NotBlank
    @Length(max = 255)
    protected String branch_no;

    @NotBlank
    @IntegerString
    @EnumValue(enumClass = InvestListStatusType.class)
    protected String state_type;

    @IntegerString
    @EnumValue(enumClass = InvestPassType.class)
    protected String check_flag;

    @DateValue
    private String start_time;

    @DateValue
    private String end_time;

    public String getBranch_no() {
        return branch_no;
    }

    public void setBranch_no(String branch_no) {
        this.branch_no = branch_no;
    }

    public String getState_type() {
        return state_type;
    }

    public void setState_type(String state_type) {
        this.state_type = state_type;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getCheck_flag() {
        return check_flag;
    }

    public void setCheck_flag(String check_flag) {
        this.check_flag = check_flag;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("InvestCheckListForm{");
        sb.append("keyword='").append(keyword).append('\'');
        sb.append(", branch_no='").append(branch_no).append('\'');
        sb.append(", state_type='").append(state_type).append('\'');
        sb.append(", check_flag='").append(check_flag).append('\'');
        sb.append(", start_time='").append(start_time).append('\'');
        sb.append(", end_time='").append(end_time).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
